package com.jrx.anytxn.transaction.mapper.ext;

import com.jrx.anytxn.transaction.entity.BtGuaranteeList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExtBtGuaranteeListMapper {

    /**
     * 删除所有记录
     *
     * @return
     */
    int deleteAll();

    /**
     * 查询所有记录
     *
     * @return
     */
    List<BtGuaranteeList> selectAllByPaymentType(@Param(value = "paymentType") String paymentType);

    /**
     * 批量插入代偿回购准备表
     * @param item
     */
    int batchInsert(List<BtGuaranteeList> item);
}
